package com.chao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chao.entity.Department;
import com.chao.entity.Major;


public interface MajorMapper extends BaseMapper<Major> {

    Page<Major> selectAll(Page<Major> page);

    int addOfPrimary(Major major);

}
